Predictive model-based measurement acquisition

ABSTRACT

A method, system and program storage device for measurement acquisition using predictive models which: (a) can improve scalability; (b) can accommodate devices that operate in a disconnected mode; and (c) enable integration of data from sources with different time granularities. Various features can be embodied in software and an object-oriented implementation is described. Different implementations are described, such as standalone predictive models implemented only on a manager (for example systems management/load balancing) or managed system (for example router management); or a parallel implementation with predictive models running on both the manager and managed (agent) systems (for example financial trading or system health monitoring). In a parallel model implementation, the agent constructs a predictive model that is conveyed to the manager system. The models are used in parallel, possibly with no communication for an extended time. The manager uses its model to provide tentative values of measurement variables to management applications. The agent uses its model to check its accuracy. If the model is found to be insufficiently accurate, an updated model is transmitted to the manager. The invention allows other measurement acquisition protocols to operate concurrently on the same measurement variables.

CROSS REFERENCE TO RELATED APPLICATION

[0001] This application is a divisional of pending U.S. application Ser. No. 09/042,060, filed Mar. 13, 1998, the disclosure of which is incorporated by reference herein.

FIELD OF THE INVENTION

[0002] The present invention relates generally to the operations and management of networked systems. A particular version is related to acquiring measurements of computer and communications systems in distributed environments.

BACKGROUND

[0003] This invention relates to operations and management (OAM), such as considerations for security, performance, and availability. OAM accounts for 60% to 80% of the cost of owning network-connected information systems (according to leading analysts). These costs are expected to increase over the next several years due to the proliferation of networked applications and hand held devices, both of which make extensive use of services in distributed systems.

[0004] In an OAM system, the entities being controlled are called managed systems (also called agent systems). This control is typically exercised in part by software present on the managed systems. In addition, there are manager systems (also called managers) that are dedicated to OAM functions. Managers provide an environment for executing management applications (hereafter, applications) that provide functions such as detecting security intrusions, determining if managed systems are accessible, and responding to performance degradation.

[0005] A corner stone of OAM is measurement. Measurements include: (a) information on network activities that are suggestive of security intrusions; (b) the response times for “ping” messages sent to remote systems to determine if they are accessible; and (c) indicators of resource consumption that are used to diagnose quality of service problems. The term measurement acquisition protocol (MAP) is used to refer to a method of delivering measurements of managed systems to manager systems. A major concern with the proliferation of low-cost computing devices is developing scaleable MAPs. The present invention addresses this concern. It also addresses issues related to disconnected operations (which is increasingly common for low-powered devices) and synchronizing time stamps from multiple sources (which is problematic when systems have separate clocks, a situation that is common in practice).

[0006] A MAP allows one or more managers to access measurement variables collected on one or more managed systems. Examples of measurement variables are kernel CPU and user CPU as defined in the output of the UNIX™ vmstat command. The value of a measurement variable at a specific time is called a data item. Data items have a time stamp that identifies when they were obtained from the managed system.

[0007] Prior art for MAPs includes: polling, subscription, and trap-directed polling. In polling (e.g., SNMP-based measurement acquisition), the manager periodically requests data from the managed system. Thus, acquiring N data items requires 2N messages.

[0008] Subscription-based approaches can reduce the number of messages required for measurement acquisition. Here, the manager sends a subscription request to the managed system. This request specifies how often the managed system sends values of the measurement variable to the manager. Thus, acquiring N data items requires on the order of N messages. While this is a considerable reduction compared to polling, a large number of messages are still exchanged.

[0009] Still more efficiencies can be obtained by using trap-directed polling (e.g., Tannenbaum, 1996). As with the previous approach, a subscription is sent from manager to managed systems. However, the managed system does not send a data message unless the variable changes value. This works well for variables that are relatively static, such as configuration information. However, this is equivalent to the subscription approach if variables change values frequently. Unfortunately, the latter is the case for many performance and availability variables, such as TCP bytes sent in IP stacks and the length of the run queue in UNIX systems.

[0010] Several techniques can improve the scalability of existing MAPs. However, none of these techniques effectively circumvents the scalability deficiencies of existing MAPs. One approach is to batch requests for multiple measurement variable into a single message. Replies can be batched in a similar way. Doing this reduces the number of messages exchanged to approximately N/B, where N is the number of data items and B is the number of data items in a batch.

[0011] While batching has merits, it has significant limitations as well. First, its benefits are modest if only a few variables are needed at a high sampling rate; that is, B is small and N is large. Second, batching can be done only for variables that are obtained from the same managed system. Thus, if there are a large number of systems from which only a few variables are needed, the benefits of batching are limited.

[0012] A second way to improve scalability is to poll less frequently, which reduces N. However, a long polling interval means that errant situations may go undetected for an extended period of time. Thus, installations are faced with the unpleasant choice of carefully managing a few systems or poorly managing a large number of systems.

[0013] A third approach to improving scalability is to report information only when an exceptional situation arises (e.g., Maxion, 1990). This approach is widely in practice. However, it has significant limitations. First, by its nature, exception checking requires that the managed system inform the manager when difficulties arise. This can be problematic if the managed system is so impaired that it cannot forward a message to the manager. A further issue with exception checking is that some exceptional situations involve interactions between multiple managed systems. Detecting these situations requires forwarding data to a manager on a regular basis.

[0014] In addition to scalability, existing MAPs have other shortcomings as well. First, existing MAPs do not support disconnected operation in which the manager cannot communicate with the managed system. Disconnected operation is common in low-end devices that operate in stand-alone mode (e.g., to provide personal calendaring services or note pad capabilities) so as to reduce power consumption. Unfortunately, existing MAPs require that managers be connected (possibly indirectly) to the managed system in order to obtain measurement data for that system.

[0015] A second issue in existing MAPs is their lack of support for integrating data from multiple systems and for combining data with different time granularities. Such capabilities are important in problem determination and isolation (e.g., Berry and Hellerstein, 1996). Unfortunately, integration is often impaired in practice since adjusting measurement data to account for the diverse interval durations used in the measurement collection requires a model of the time serial behavior of measurement variables. Such considerations are beyond the scope of current MAPs.

[0016] In summary, MAPs are a core technology in OAM. Existing art for MAPs is deficient in several respects. Current approaches scale poorly. They do not address disconnected operation. And, they do not help with integrating measurement data from multiple managed systems.

[0017] Predictive models have been applied in some management contexts. A commonly used class of predictive models are time series models (e.g., Box and Jenkins, 1976). Time series models have been applied directly to management problems, such as in Hood and Ji, 1997. An example of a time series model is

[0018]x(t)=a*x(t−1)+b*x(t−2),  Eq (1)

[0019] where x(t) is the value of the variable at time t, and a and b are constants that are estimated using standard techniques. For example, x(t) might be the average response time of transactions during time interval t. A more complex model might take into account other factors, such as the number of requests, denoted by y(t), and their service times, denoted by z(t):

x(t)=a′*x(t−1)+b′*x(t−2)+c*y(t)+d*z(t).  Eq (2)

[0020] Even more sophisticated predictive models consider non-linear terms, such as powers of x, y, and z. As detailed in Box and Jenkins, 1976, time series models can forecast values for an arbitrary number of time units into the future (although the variance of the forecasts increases with the forecast horizon).

[0021] Models are also known in various other contexts, such as:

[0022] Compression schemes (e.g., Cover and Thomas, 1991) which reduce the data volumes sent between communicating computers by employing predictive models for data values.

[0023] Feedback control systems (e.g., Freeley et al., 1995) which employ predictive algorithms that anticipate data values, such as in a caching system.

[0024] Timer protocols (e.g., Mills, 1989) which coordinate distributed models of clocks to provide clock synchronization.

[0025] Schedulers for distributed systems (e.g., Litzkow, 1988) have a model of the systems being scheduled.

[0026] Schemes for providing approximate query results use statistical models to estimate these results (e.g., Hachem and Taylor, 1996).

[0027] None of the foregoing provide a method and a system whereby the managed system knows the values predicted by the manager for models that use historical data. None of the foregoing employs a method and a system for dynamically creating and deleting model specifications. Rather, existing art establishes model definitions when the system is designed. Further, in the existing art, updating models is restricted to changing their parameters. None of the foregoing provide for managing tentative updates (e.g., via heart-beat messages). The present invention addresses these needs.

SUMMARY

[0028] Accordingly, the present invention is directed to an improved measurement acquisition system and method. In an application to distributed systems with properly enabled management applications, the present invention has features for: (1) reducing the volume of messages exchanged between managers and agents (also called managed systems); (2) addressing disconnected operation;, and (3) synchronizing time stamps. These benefits are provided by using predictive models that run in a coordinated manner on manager and managed systems.

[0029] The present invention has features which reduce the volume of messages exchanged between manager and managed systems. This technique is referred to as model-based measurement (MBM). In one example, MBM is accomplished by a method and a system that creates, uses, updates, and deletes predictive models in a manner that is coordinated between manager and managed systems. The method can be embodied as software, e.g., using well known object oriented programming technology, and stored on a program storage device for execution on a data processing system. As in subscription-based measurement acquisition protocols, the manager can send a subscription message to the managed system. In another example, the subscription may also specify an accuracy bound (e.g., a percent deviation from the actual value) for the predicted values. Agent software on the managed system then constructs a predictive model based on variable values on the managed system. This model is returned to the manager. The manager uses the predictive model to satisfy requests by management applications for values of the subscribed-to measurement variable. The managed system uses the predictive model to detect excessive deviations of predicted values from measured values. When this occurs, the agent software sends an updated model to the manager. Periodically, the managed system sends a “heart-beat” message to the manager. This message indicates which variables are confirmed to have predicted values that lie within the accuracy bounds specified by the manager.

[0030] In one example, values of measurement variables in the manager are kept in a measurement repository. These values have an associated status code that indicates how they were obtained. A value is tentative if it has been predicted but the managed system has not received a heart-beat message confirming that the prediction is within the accuracy bounds. A value is confirmed if such a message has been received. A value is actual if it was obtained from measurement facilities on the managed system. Here, management applications using data obtained with this version of the present invention must be adapted to handle these status codes. In particular, a tentative value may be changed if, through interactions between the manager and managed systems, it is subsequently determined that the data item is not within the range of accuracy desired by the manager. It is straightforward to provide a notification mechanism so that management applications are informed of such situations.

[0031] One example of a system in accordance with the present invention includes components on both manager and managed systems. One example of the components on the manager includes:

[0032] A plurality of management applications adapted to use predicted values and to handle measurement values with the above-mentioned status codes;

[0033] A measurement repository that stores measurement values, their status codes, and their time stamps;

[0034] A manager model handler that creates, updates, deletes, and uses predictive models of measurement variables; and

[0035] A manager protocol handler that provides overall coordination of MBM on the manager and exchanges messages with managed systems.

[0036] One example of the components on the managed system include:

[0037] An agent protocol handler that provides overall coordination of MBM on the managed system and exchanges messages with one or more managers;

[0038] An agent model handler that defines, updates, deletes, and uses predictive models on the managed system;

[0039] A plurality of agent data access facilities that provide actual values of measurement variables; and

[0040] An agent measurement repository that contains the measured values of subscribed-to variables that are known to the manager.

[0041] An example of a method having features of the present invention operates as follows. A management application interacts with the manager measurement repository to specify measurement variables for which a subscription is requested. The manager measurement repository notifies the manager protocol handler, which in turn sends a subscription message to the managed system. The subscription message specifies a desired accuracy. This message is received by the agent protocol handler. There is a period of time during which the managed system reports measured values to the manager. These values are recorded in the agent measurement repository to track the measured values known to the manager. Such tracking is necessary so that the agent model handler can produce the same estimates measurement variables as those produced by the manager protocol handler. Once sufficient data have been obtained, the agent model handler constructs a predictive model, such as by using well-known techniques for model identification and parameter estimation for time series data. The agent protocol handler then transmits this model, its parameters, and data inputs to the manager protocol handler, which in turn invokes the manager model handler create the model on the manager.

[0042] Next, the manager and managed systems may operate independently, possibly without any communications for an extended period. The manager protocol handler periodically updates the manager measurement repository using estimates obtained from the predictive model. The agent protocol handler periodically checks the accuracy of the predictive model. The agent connects to the manager only to send model updates and heart-beat messages.

[0043] Models constructed in this manner can be used to periodically update the measurement repository with values of the measurement variable. Such values have a status code of “tentative”. Periodic “heart-beat” messages sent from the managed system to the manager indicate variables for which data items are confirmed to have the desired accuracy (as specified in the manager's subscription for the measurement variable). When such a confirmation is received for a value, its status code is changed from “tentative” to “confirmed”.

[0044] For predictive models that accurately forecast the values of measurement variables, the foregoing can greatly reduce the volume of message traffic. However, there are some variables for which such models are unknown, at least in some operating circumstances. Further, it may be that certain changes in the components of a distributed system or their interconnections may cause the present invention to work poorly for a period of time. Thus, the present invention includes other features such that a measurement variable may have values obtained from a variety of MAPs that operate concurrently with MBM. Doing so requires having a third status code, actual, that indicates that the value was obtained from the measurement data access facilities on the managed system.

[0045] The present invention offers significant advantages over existing art. First, the invention provides improved scalability. In existing art, requests by management applications for non-static variables (e.g., counters such as the number of bytes sent on a TCP socket) require that a message be sent from the managed system to the manager. The overhead of these messages becomes increasingly burdensome as networks grow more complex. The present invention can greatly reduce network traffic and the associated performance issues (if the predictive models are sufficiently accurate). In particular, if the predictive model can forecast accurately values of measurement variables that are H time units in the future, then MBM only requires on the order of N/H messages to acquire N data items. (Heart-beat messages are considered to be a small fraction of the message exchange.) In contrast, existing MAPs require on the order of N messages (at least) if data values change frequently. Further, as with existing MAPs, MBM can employ batching of measurement variables. Doing so reduces the number of messages exchanged for MBM to N/(HB).

[0046] Second, the present invention offers a solution to managing palmtop and other low-end devices that often operate in disconnected mode. The challenge here is knowing about devices for which communication is possible only intermittently. Polling and subscription approaches are ineffective with disconnected devices. However, given sufficiently accurate predictive models, the present invention provides management applications with estimates of variable values. Doing so enables exception checking and health monitoring even if measurements of managed systems are not available.

[0047] Third, once a predictive model is available to the managed system, it can be used to aid in integrating data from multiple sources. For example, the present invention provides a way to synchronize data collected from multiple managed systems that have different collection frequencies and/or clocks that are not synchronized. Such considerations are particularly important in diagnostic situations and for operations consoles where a uniform perspective is essential. By using predictive models, the manager can adjust the granularity of the time stamp using techniques such as those in Priestly, 1981. In contrast, existing approaches to measurement acquisition provide little assistance with synchronizing data from multiple sources.

[0048] A specific and central problem is dealing with data that are collected at different frequencies. For example, resource data may be collected every fifteen minutes, but transaction data might be collected every minute. Commonly, such situations are addressed by aggregating data to the coarsest granularity. In this case, the transaction data are aggregated into fifteen minute intervals. However, with a predictive model, it is possible to interpolate values so that estimates of finer grain data can be obtained (e.g., using spectral techniques, as in Priestly, 1981).

[0049] To summarize, various versions of the present invention include the following characteristics:

[0050] Its context is the acquisition of measurement data in distributed systems.

[0051] It provides for creating, updating, and deleting predictive models in a manner that is coordinated between manager and managed systems.

[0052] It employs status codes for data items, wherein values supplied to management applications have a status code of “tentative”, “confirmed”, or “actual”.

[0053] Other measurement acquisition protocols can be run concurrently with the present invention, and the same variable may use multiple measurement acquisition protocols in a manner that is transparent to the management application.

[0054] The present invention has still other features whereby the managed system knows the values predicted by the manager for models that use historical data. Such a capability is required in MBM so that the managed system knows the accuracy of the estimates produced by the manager. Providing this requires more than ensuring that both systems have the same predictive model. It also requires that both systems use the same input data to this model. One version of the present invention makes this possible by: (a) a system that incorporates an AgentMeasurementRepository component that stores variable values known to the manager and (b) a method that synchronizes data values in the ManagerMeasurementRepository with those in the AgentMeasurementRepository.

[0055] The present invention has yet other features for dynamically creating and deleting predictive model specifications, wherein such a specification includes a model definition (i.e., its algebraic form, such as Eq (1) vs. Eq. (2)), its parameters (e.g., a and b in Eq. (1)), and its inputs (which measurement variables are used). In contrast, existing art establishes model definitions when the system is designed. Further, in the prior art, methods of updating models are restricted to changing the their parameters.

BRIEF DESCRIPTION OF THE DRAWINGS

[0056] These and various other features, advantages and alternatives within the spirit and scope of the claimed invention will be apparent to those skilled in the art by reading the detailed description with reference to the drawings, wherein:

[0057]FIG. 1A depicts an example of a system having features of the present invention;

[0058]FIG. 1B depicts an example of a flow in a health-monitoring application once it is notified of an update to the ManagerMeasurementRepository.

[0059]FIG. 2A depicts a class diagram in an object-oriented version of the components of FIG. 1;

[0060]FIG. 2B depicts a more detailed example of class diagrams for the DataItem and ModelSpecification classes of FIG. 2A;

[0061]FIG. 3A depicts examples of simple classes to define inputs to and outputs from class methods;

[0062]FIG. 3B lists an example of a method in the Application class;

[0063]FIG. 4 lists examples of methods in the ManagerProtocolHandler class;

[0064]FIG. 5 lists examples of methods in the AgentProtocolHandler class;

[0065]FIG. 6A lists examples of methods in the ManagerModelHandler class;

[0066]FIG. 6B depicts an example of an expression tree for Eq (1);

[0067]FIG. 7 lists examples of methods in the AgentModelHandler class;

[0068]FIG. 8 lists examples of methods in the Timer class;

[0069]FIG. 9 lists examples of methods in the AgentDataAccessFacility class;

[0070]FIG. 10 lists the methods in the ManagerMeasurementRepository class.

[0071]FIG. 11 lists examples of methods in the AgentMeasurementRepository class;

[0072]FIG. 12 depicts an example of a sequencing of scenarios in an MBM protocol;

[0073]FIG. 13 depicts an example of a first part of the MBM Subscribe scenario;

[0074]FIGS. 14A and 14B depict an example of a second part of the MBM Subscribe scenario;

[0075]FIG. 15 depicts an example of a CheckModel scenario when the model is within its accuracy bounds;

[0076]FIG. 16 depicts an example of a CheckModel scenario when the model is not within its accuracy bounds;

[0077]FIG. 17 depicts an example of a HeartBeat scenario;

[0078]FIGS. 18A and 18B depict an example of an Unsubscribe scenario;

[0079]FIG. 19 depicts an example of a ConcurrentUpdate scenario; and

[0080]FIG. 20 depicts an example of a TentativeUpdate scenario.

DETAILED DESCRIPTION

[0081]FIG. 1A depicts an example of a system having features of the present invention. As depicted, an administrator or other end-user (122) interacts with the manager (120) to manage or use information on (or available through) one or more managed (also called agent) systems (125).

[0082] The manager system (120) and/or managed system (125) hardware can be any mainframe or server architecture, including but not limited to those sold by the IBM Corporation under the trademarks ES9000, AS400, or RS6000. The managed system could also be an intermediary device such as a gateway, router, or proxy server; or an end-user device such as client machine such as a personal computer sold by IBM Corporation under the trademarks APTIVA and THINKPAD. Although shown “connected” to the manager system, those skilled in the art will appreciate that the managed system (125) could be a disconnectable “mobile” device such as a portable, handheld, or palmtop device. As is well known, the manager system (120) and/or managed system (125) can be running an operating system (not shown) including but not limited to: UNIX (a trademark of The Open Group); those sold by the IBM Corporation under the trademarks AIX, MVS, or OS2; or those sold by Microsoft under the trademarks WINDOWS NT, WINDOWS 95 or WINDOWS CE. Those skilled in the art will appreciate that the manager (120) and managed (125) systems may be connected by a network(s) (not shown) such as a LAN, WAN, or the Internet and communicating by appropriate well known networking protocols, such as Ethernet, Token Ring and/or the TCP/IP suite of protocols. Such hardware, software and networking alternatives and equivalents are well known to those skilled in the art, are not part of the present invention and thus will not be discussed further.

[0083] The manager (120) can include a plurality of management applications (100) that obtain measurement data from the manager measurement repository (110). Data items are supplied to this repository by the (MBM) manager protocol handler (115) and possibly other (non-MBM) protocol handlers (160). The manager protocol handler may use one or more timers (150) to periodically update the manager measurement repository with predicted values of measurement variables. These predictions are obtained from the manager model handler (140) based on one or more predictive models (141) and measurement data communicated from the managed system (125). Predictive models employed by the manager can be constructed from model specification messages (142).

[0084] As will be described in more detail below, the present invention has features for dynamically creating, updating and deleting predictive model specifications. In one example, the models include a model definition (i.e., its algebraic form, such as Eq (1) vs. Eq. (2)), its parameters (e.g., a and b in Eq. (1)), and data inputs (which measurement variables are used).

[0085] In order for the manager protocol handler to create the model on the manager, it can: (a) parse the model, the model parameters, and the data inputs sent by an agent protocol handler (130); (b) create objects for these elements; and (c) initialize these objects (e.g., build relationships between the objects). An alternative is to transmit to the manager system (120), the objects built on the managed system (125) by the agent model handler (140). For example, if Sun Microsystem's object oriented programming language, trademarked under the name JAVA is used, objects can be serialized (using Java'a built-in object serialization functionality) on the managed system and then transmitted to and reconstructed on the manager system.

[0086] Interactions with the managed system (125) and overall coordination of MBM on the manager is handled by the manager protocol handler (115). In this example, two types of messages are exchanged between the manager (120) and managed system (125). A model specification message (142) is sent from managed system (125) to the manager (120); it contains a model definition, its parameter values, and the data inputs. A non-model message (143) does not contain a model specification; such messages are exchanged bi-directionally. Within the managed system, the agent protocol handler (130): (a) handles requests from and replies to the manager; (b) uses the agent model handler (145) to create, update, and check the validity of the predictive models (141) provided to managers; and (c) keeps a record in the agent measurement repository (170) of the measurement values known to the manager. Model checking, updating, and confirmations are done periodically, as governed by the timer components (150). One or more agent data access facilities (135) provide access to measurements of the managed system. Predictive model(s) (141) on the managed system are constructed by the agent model handler.

[0087] MBM can be applied to areas other than the management of information technology resources. In particular, and by way of example only, consider a financial application. This application trades securities in markets around the world. As such, obtaining current pricing information is critical. To this end, the financial application runs on a manager system (120) node that obtains pricing data from multiple agent systems (125) that supply data for specific markets.

[0088] Thus, MBM can provide a low-overhead way to obtain current pricing data if there are reasonably accurate predictive models for the prices of the interest (e.g., time series models, such as those used to forecast econometric data). Here, the Application (100) is a trading application. The Manager Measurement Repository (110) contains pricing data. The Manager Protocol Handler (115) communicates with the agents (125) that supply the pricing data. The Manager Model Handler (140) constructs predictive models of the pricing data based on information supplied by the agents that supply this data. The Agent Procotol Handler (130) communicates with the Manager Protocol Handler to supply the pricing data and model specifications (142). The Agent Data Access Facility (135) obtains pricing data for a specific security. The Agent Measurement Repository (170) contains pricing data that corresponds to that maintained on the manager. The Agent Model Handler (145) constructs predictive models based on the pricing data in the Agent Measurement Repository (170). The Other Protocol Handler (160) provides alternative means for accessing pricing data. The Timer (150) provides a mechanism for initiating periodic actions in the Manager Protocol Handler (115) and the Agent Protocol Handler (130).

[0089] Consider now an example of a management application. FIG. 1B depicts an example of a flow that will be discussed in a health-monitoring application (although the flow is fully general). In this example, the application (100) plots data items such as CPU utilization, response times, and network utilizations, all of which are of interest to administrators who want a “live feed” of the wellness of the managed systems (125). As depicted, the flow begins at block 2210, with the application being notified that a data item has been created or modified. The application then (100) checks the status for the data item. In block 2220, if the data item has a status code of “tentative”, the value is plotted (e.g., as an open circle) to indicate that it is based on model predictions. In block 2230, if the data item has a status code of “confirmed”, this can be plotted (e.g., with a filled circle) to indicate a higher level of confidence. In block 2240, if the data item has a status code of “actual”, the data value can be plotted (e.g., with an asterisk) to indicate that this represents an actual value.

[0090] Although an object-oriented software approach is used to describe the operation of the present invention (see e.g., Booch, 1994), those skilled in the art will appreciate that many other implementations are within the spirit and scope of the present invention. Objects are instances of classes. Classes define methods (procedures) and attributes (variables) that are common to all objects within the same class. A system is specified in terms of: (a) a class diagram that displays which classes know about (e.g., have pointers to) which other classes; (b) descriptions of the methods that each class provides; and (c) scenarios that show how sequences of steps can be used to achieve desired functions. In this example, the convention is that class names begin with an upper case letter; method names begin with a lower case letter and end with parentheses (to indicate that they are functions); and scenario names are in bold italics.

[0091] Begin with the class diagrams. Standard Booch notation is used in which: (a) a cloud indicates a class; (b) inheritance is indicated by an arrow that points from the child class to its parent; (c) the knows-about relation is depicted by a line that has a solid dot attached to the class that knows about the class at the other end of the line; and (d) a one-to-many knows-about relationship is specified by a “knows-about” line that is annotated with a lower case n.

[0092]FIG. 2B depicts an example of a class diagram for a superset of the components in FIG. 1A. As depicted, an Application (2010) object knows about a ManagerMeasurementRepository (2020), and a ManagerMeasurementRepository knows about all Application objects that have MBM subscriptions. A ManagerMeasurementRepository contains a plurality of DataItem (2095) objects. There is one DataItem object for each data item in the ManagerMeasurementRepository. A ManagerMeasurementRepository knows about a ManagerProtocolHandler (2030), and the reverse holds as well. The OtherProtocolHandler (2025) objects know about the ManagerMeasurementRepository (2020).

[0093] The ManagerProtocolHandler (2030) knows about a ManagerModelHandler (2040). The ManagerModelHandler has a plurality of ModelSpecification (2045) objects, each of which describes a model for measurement of a variable. The ManagerProtocolHandler also knows about a plurality of Timer (2050) objects. Specifically, the ManagerProtocolHandler knows about one Timer object for each measurement variable. The Timer (2050) knows about the client for which it is created. Thus, the ManagerProtocolHandler (2030) is a subclass of a TimerClient (2060) (as indicated by the arrow).

[0094] The TimerClient (2060) is a common abstraction that allows Timer objects to invoke a special method (timerExpiration( )) in the TimerClient. The use of such abstractions provides modularity in object-oriented applications. To one skilled in the art, the definition and implementation of the TimerClient is straight forward. As such, it is not addressed further.

[0095] The ManagerProtocolHandler (2030) object knows about a plurality of AgentProtocolHandler (2080) objects. The AgentProtocolHandler only knows about a single ManagerProtocolHandler. The AgentProtocolHandler uses two Timer (2050) objects for each measurement variable. One Timer tracks the interval for checking the variable's predictive model. The second Timer determines when to send a heart-beat message to the manager. The AgentProtocolHandler inherits from the TimerClient (2060). The AgentProtocolHandler knows about a plurality of AgentDataAccessFacility (2070) objects (one for each type of data, such as vmstat, netstat, and iostat in UNIX systems); and the AgentProtocolHandler also knows about an AgentModelHandler (2090). The AgentProtocolHandler and AgentModelHandler know about an AgentMeasurementRepository object (2098), which is used to record measurement values reported to the manager. As such, an AgentMeasurementRepository (2020) knows about a plurality of DataItem (2095) objects. The AgentModelHandler constructs predictive models for measurement variables and provides a way to check their accuracy.

[0096]FIG. 2B depicts an example of a class diagram describing the DataItem (2095) and the ModelSpecification (2045) classes in more detail. As depicted, a DataItem (2095) includes: (1) a VariableID (2310) that indicates the measurement variable for which the DataItem provides a value, (2) preferably a StatusCode (2320) that specifies the status (i.e., “tentative”, “confirmed”, “actual”) of the data item, and (3) a DataValue (2330) that contains the numeric value for the DataItem. A ModelSpecification (2045) includes: (1) a VariableID that uniquely identifies the measurement variable; (2) a ModelDefinition (2340) class that describes the functional form of the model (e.g., polish postfix notation); (3) a ModelParameters (2050) class that specifies the parameter values to use for constants in the ModelDefinition (e.g., a and b in Eq. (1)), and (4) a ModelInputs class (2360) that relates variables in the ModelSpecification to DataItems in the measurement repositories (e.g., relates x(t−1) to the last DataItem for the variable x).

[0097]FIG. 3A depicts examples of simple classes used as inputs to and outputs from the methods herein described. An Accuracy (3010) class quantifies how close a predicted value must be to the observed value. This could be unit-less (e.g., a percent), an absolute value, or something else. The classes: Boolean (3020); ElapsedTime (3040) (a time value); and ObjectID (3050) are well known to those skilled in the art. The class HeartBeatInterval (3060) has a well understood data type—a time value—which is used to express the interval between confirmation messages sent from the managed system (125) to the manager (120). The classes: SampleInterval (3110); and Timestamp (3120) are time values. The TimerID (3130) is a handle used in the Timer class. The Void (3150) class is used to indicate that no class is defined.

[0098] Having introduced exemplary classes in the present embodiment, their operation will now be discussed. The methods required for the DataItem and ModelDefinition classes, and the classes depicted in FIG. 2A and FIG. 3A include: constructors, setting a value, and getting a value. Such methods are straight forward to implement and so are not considered further.

[0099] FIGS. 3B, and 4-10 depict examples of methods for additional classes. For the most part, the logic of these methods is straight forward. Where this is not the case, elaboration is supplied in the description of the method or in the scenarios presented later on.

[0100]FIG. 3B depicts an example of a method in the Application class. As depicted, there is only one: notify( ). The notify( ) (30010) method is invoked to inform an Application object of a change in a measurement variable to which the object has subscribed. The behavior is specific to the application, as in the example depicted in FIG. 1A.

[0101]FIG. 4 depicts examples of methods used in the ManagerProtocolHandler class (2030). The concurrrentUpdate( ) (4005) method is invoked when a measurement variable is updated by another protocol handler. More detail is provided in the ConcurrentUpdate scenario, discussed later. The createModel( ) (4010) method constructs an in-storage representation of the ModelSpecification (2045) object. This can be implemented as an expression tree (see FIG. 6B), which is well known art (e.g., Aho and Ullman, 1972). A getDataReply( ) (4020) method is invoked when a measured value is supplied to the Manager ProtocolHandler (2030) through the MBM protocol. The getDataReply( ) (4020) method updates the ManagerMeasurementRepository (2020). A heartBeat( ) (4030) method is invoked when a heart-beat message is received from the managed system (125), in which case the status of the variable in the heart-beat message is changed from “tentative” to “confirmed”. A modelUpdateRequest( ) (4040) method is used to request an update of the model for the variable. The modelUpdateReply( ) (4050) method is invoked when the AgentProtocolHandler (2080) sends a model update, in which case the ManagerModelHandler (2030) is called to change its model. The subscribe( ) (4060) method is invoked to request an MBM subscription to a measurement variable. A timerExpiration( ) (4070) method is invoked to provide periodic updates of the ManagerMeasurementRepository (2020) for a measurement variable. This is done by creating a DataItem whose value is obtained from the ManagerModelHandler (via getPredictedValue( )) (FIG. 6) and whose StatusCode is “tentative.” An unsubscribe( ) (4080) method removes the MBM subscription for a specified variable.

[0102]FIG. 5 depicts examples of methods in the AgentProtocolHandler (2080) class. The checkModel( ) (5010) method determines if the model for a specified variable is within any accuracy bounds which may have been specified in the subscription to the managed system. A concurrentupdate( ) (5020) method notifies the managed system (125) that a non-MBM protocol handler has updated a DataItem for a subscribed-to measurement variable. A getModelConfirmationTime( ) (5030) method returns the time at which a specified variable was last confirmed to be within its accuracy bounds. This requires that the AgentProtocolHandler (2080) keep historical information on when the model's accuracy is checked. A getDataRequest( ) (5040) method obtains the current value of a specified measurement variable by requesting it from the appropriate AgentDataAccessFacility (2070). A subscribes (5060) method is invoked when a manager subscribes to a specified measurement variable. The subscription can also include a specified: bound for the accuracy of the predicted values (Accuracy); interval for the heart beat message (HeartBeatInterval) confirming the specified accuracy; and an interval (SampleInterval) during which values are to be updated in the ManagerMeasurementRepository (2020). The timerExpiration( ) (5070) method checks the accuracy of the predictive model for a specified variable. The unsubscribe( ) (5080) method removes the subscription to a specified measurement variable.

[0103]FIG. 6A depicts examples of methods for the ManagerModelHandler (2040) class. An example of a createModel( ) (6010) method includes the steps of: extracting the ModelDefinition (2340), ModelParameters (2350), and ModelInputs (2360) from the ModelSpecification (2045); allocating storage; and then constructing an expression tree for the model. A deleteModel( ) (6020) method frees the storage allocated. A getPredictedValue( ) (6030) method invokes the model's expression tree for the specified values in the ManagerMeasurementRepository (2020) to obtain a predicted value at the Timestamp specified. An updateModel( ) (6040) modifies the expression tree in accordance with those elements of the argument ModelSpecification that have changed since the expression tree was created (or last updated).

[0104] To elaborate, consider an example of an expression tree for Eq (1), depicted in FIG. 6B. As depicted, the leaves of the tree (at nodes 60040, 60050, 60060, and 60070) can be constants or variables. Each non-root node specifies how to combine results. In node 60020, it is specified that the value of a (in node 60040) should be multiplied by the value of x(t−1) (in node 60050). In nodes 60030 and 60060, the same is specified for b (in node 60060) and x(t−2) (in node 60070), respectively. In node 60010, The root specifies that the result produced by the subtree, rooted at node 60020, should be added to the result produced by the subtree rooted at node 60030.

[0105] An expression tree can be modified in several ways. One modification is to replace a term, such as changing x(t−2) (in node 60070) to x(t−3). Another modification is to add an expression subtree. For example, consider a model update that changes Eq (1) to the following:

x(t)=a*x(t−1)+b*x(t−2)+d*x(t−4)tm Eq (1′)

[0106] Updating the expression tree in FIG. 6B to correspond to Eq (1′) can be accomplished using the following steps: (a) add to node 60010, another child that specifies a multiply operation; (b) add two children to this new child such that one corresponds to d and the other corresponds to x(t−4).

[0107] Still another modification is to delete a subtree from the expression tree. For example, if the term a*x(t−1) is removed from Eq (1), then we should delete the subtree rooted at node 60020 from the expression tree in FIG. 6B.

[0108]FIG. 7 depicts examples of methods for the AgentModelHandler (2090) class. A defineModel( ) (7010) method performs model identification and parameter estimation (e.g., as in Box and Jenkins, 1976) to construct a model of a specified variable based on measurements in the AgentMeasurementRepository. Optionally, if a model with a specified accuracy value can be created, then an expression tree for the model is built and a non-null ModelSpecification (2045) object is returned. Otherwise, the ModelSpecification returned is null. A deleteModel( ) (7020) method deletes the model context information from the AgentModelHandler. A getPredictedValue( ) (7040) method returns an estimated value of a specified measurement variable based on the measured values in the AgentMeasurementRepository (2098) at a specified Timestamp.

[0109]FIG. 8 depicts examples of methods for the Timer (2050) object. The deleteTimer( ) (8010) method deletes a specified timer. The resetTimer (8020) resets a specified timer at a specified elapsed time value (ElapsedTime). A setTimer( ) (8030) method sets a specified timer at a specified elapsed time value (ElapsedTime). These methods (or their equivalents) are well known to one versed in the art.

[0110]FIG. 9 depicts examples of methods for the AgentDataAccessFacility (2070). A getvalue( ) (9010) method retrieves a value for a specified measurement variable. A startCollection( ) (9020) method triggers the start of collection of values for a specified measurement variable. A stopCollection( ) (9030) method triggers the end of collection of values for a specified measurement variable. These methods (or their equivalents) are also well known to one versed in the art.

[0111]FIG. 10 depicts examples of methods in the ManagerMeasurementRepository (2020). Observe that a corresponding DataItem (2095) object is uniquely identified by the value of its VariableID and its Timestamp. A deleteVariable( ) (10005) method eliminates all DataItems in the ManagerMeasurementRepository with the VariableID specified. A getStatusCode( ) (10010) method retrieves the StatusCode of the corresponding DataItem. A getvalue( ) (10020) method obtains the DataValue of a corresponding DataItem. An updateValue( ) (10030) method creates a new DataItem for the VariableID and Timestamp specified, if such a DataItem does not exist already. Otherwise, the DataItem's DataValue and/or StatusCode are changed to that of the parameters specified in the arguments of the method. A putValue( ) (10040) method creates a new DataItem and sets its StatusCode to “actual”. This method is the only way that non-MBM MAPs add DataItems to the ManagerMeasurementRepository. As such, this method provides a way for the ManagerProtocolHandler (2030) to be notified of concurrent updates to measurement variables. A subscribe( ) (10060) method specifies: the variable for which a managed system desires a subscription; a desired accuracy bound of the variable; the heart-beat interval for which confirmations are desired; the sample interval in which values are to be updated in the ManagerMeasurementRepository; and the object to be notified when such updates occur.

[0112]FIG. 11 depicts examples of methods in the AgentMeasurementRepository (2098). A deleteVariable( ) (11005) method eliminates all DataItems in the AgentMeasurementRepository with the VariableID specified. A getvalue( ) (11020) method obtains the DataValue for the DataItem (correpsonding to the VariableID and Timestamp). A putValue( ) (11040) method creates a new DataItem with a specified data value.

[0113]FIG. 12 depicts several exemplary scenarios and their sequencing dependencies. A Subscribe scenario (210) occurs when an Application (100) uses MBM to subscribe to a measurement variable, thereby enabling the use of predictive models that provide tentative updates. The CheckModel scenario (220) describes how predictive models can be are checked for accuracy and the actions taken when the accuracy is below what is expected. The HeartBeat scenario (230) illustrates how periodic heart-beat messages can be used to provide the manager with confirmations of tentative values. The Unsubscribe scenario (240) details how subscriptions can be revoked by an Application (100). The ConcurrentUpdate scenario (270) shows how other MAPs can update measurement variables concurrently. The TentativeUpdate scenario (260) shows how tentative updates can be constructed and posted into the ManagerMeasurementRepository. Note that the Subscribe scenario must occur before any of the others. Indeed, the darkened oval indicates that this scenario is the starting point. Also, note that the scenarios CheckModel, HeartBeat, ConcurrentUpdate, and TentativeUpdate can occur in any order with respect to one another.

[0114] In the sequel, scenarios are presented as Booch object interaction diagrams. Objects are indicated by their class name. This appears at the top of the diagram. If there are multiple objects of the same class, then a suffix is added. The class of each object appears at the top of the diagram. The relative time at which interactions occur proceeds from top to bottom. Interactions take the form of method invocations, with the arrow pointing from caller to the call-ee. With the exception of the StatusCode class, arguments and return values are not specified. Processing within a method is indicated by an arrow that is shaped like a backwards letter “c.”

[0115]FIG. 13 depicts an example of the first part of the Subscribe scenario (210). As depicted, in steps 13010, 13020 and 13030, the subscription request is propagated from the Application (2010), to the ManagerMeasurementRepository (2020), to the ManagerProtocolHandler (2030), and then to the AgentProtocolHandler (2080). In steps 13040, 13050, 13060, 13070 and 13080, data collection is begun on the managed system (125) and the AgentMeasurementRepository (2098) is updated. In steps 13090, 13100, and 13110, the manager (125) receives the values of measurements obtained from the managed system, places them in the ManagerMeasurementRepository (with a StatusCode of “actual”), and notifies the Application that the data are present. In steps 13120, 13130 and 13140, the AgentProtocolHandler (2080) attempts to define a model of the subscribed-to variable. In this scenario, insufficient data exist to construct a ModelSpecification (2045), and so a null value is returned from the defineModel( ) method (7010). Also, note that within the defineModel( ) method invoked in (13120), objects are created within the Agent Model Handler (13125).

[0116]FIGS. 14A and 14B depicts an example of the second part of the Subscribe scenario. As depicted, in step 14010, the scenario is initiated by the expiration of a check model timer (TimerCK). (Recall that TimerCK is set in FIG. 13 in (12050), it is set again in (14100).) In steps 14020 and 14030, the managed system obtains another value of the measurement variable for which the subscription has been initiated. In steps 14040, 14050 and 14060: the manager (120) receives the values of measurements obtained from the managed system (125); places them in the ManagerMeasurementRepository (2020) (with a StatusCode of “actual”); and notifies the Application (2010) that the data are present. In steps 14070, 14080, and 14090: the AgentProtocolHandler (2080) defines a model for the variable for which the subscription is done. As depicted, two data values are sufficient to define the model, although in practice more data may be required. In step 14100, a timer is set (TimerCK) to trigger periodic accuracy checking of the of the model. In step 14110 another timer (TimerHB) is set, to trigger periodic heart-beat messages. In steps 14120 and 14130, the model of the variable is communicated to the manager, and the ManagerModelHandler (2040) creates the expression tree for this model. In step 14140, a timer (TimerUD) is set so that the ManagerMeasurementRepository is updated periodically. Note that during the execution of the createModel( ) (14120) method in the Manager Protocol Handler, the string form of the model specification received from the managed system is parsed (14125) and an object representation (as in FIG. 2A) is created. Further, during the execution of the createModel( ) method (14130) in the Manager Model Handler, objects are created and initialized (14135).

[0117] The CheckModel scenario is organized into two sub-cases. FIG. 15 depicts an example of interactions when the predictive model is found to be within the accuracy limits specified on the subscription message. As depicted, in step 15010, the scenario is initiated by the expiration of the check-model Timer (TimerCK). In steps 15020, 15030) and 15040: the predicted value of the measurement variable is obtained using getvalue( ) in (15030) and (15040). In step 15050, the actual value is obtained from the Agent Data Access Facility (135). In step 15060, the two values are compared and found to be sufficiently close. In step 15070, the timer (TimerCK) is set so that periodic checking continues.

[0118]FIG. 16 depicts an example of the CheckModel scenario when the model is found not to be sufficiently accurate. As depicted, in step 16010, the scenario is initiated by the expiration of the check-model timer (TimerCK). In steps 16020, 16030, and 16040: the expected and actual value of the measurement variable are obtained. In step 16050, the model is checked and found to be insufficiently accurate (not within a specified accuracy bound). In steps 16060, 16070, 16080, and 16090: the AgentMeasurementRepository and ManagerMeasurementRepository are updated with the most current values. Note that in step 16080 the ManagerMeasurementRepository is updated with a StatusCode of “actual”. In steps 16100, 16110, 16120, 16130 and 16140: the current model is deleted; a new model is constructed; and sent to the manager. In step 16150, a timer (TimerCK) is set so that periodic model checking continues. In step 16160, the manager processes the updated model. Note that during the execution of the defineModel( ) method (step 16110) of the Agent Model Handler, objects are created and initialized (step 16135). Also, during the execution of the modelUpdateReply( ) method (step 16140), the string form of the model specification received from the managed system is parsed and an object representation of the model specification (as in FIG. 2B) is created. Further, during the execution of the updateModel( ) method (step 16160) of the Manager Model Handler, objects are updated and initialized (step 16165).

[0119]FIG. 17 depicts an example of interactions for the HeartBeat scenario. As depicted, in step 17010, the heart-beat timer expires, which initiates the scenario. In step 17020, the AgentProtocolHandler (2080) obtains the time at which the model of the measurement variable was last confirmed. In step 17030, the heart-beat message is sent to the manager. In step 17040, a timer (TimerHB) is set so that this scenario will be repeated periodically. In steps 17050, 17060, 17070 and 17080: the ManagerMeasurementRepository (2020) is updated with a StatusCode of “confirmed”; and the Application is notified of the status change. Note that a single heart-beat message can result in updating multiple DataItem objects since these correspond to values of a measurement variable at different time stamps, all of which are confirmed by the heart-beat message.

[0120]FIGS. 18A and 18B depicts an example of interactions for the Unsubscribe scenario. As depicted, in step 18010, an Application (100) initiates the revocation of subscription. In step 18020, the ManagerMeasurementRepository (2020) removes all DataItem objects for the specified measurement variable. In steps 18030, 18040 and 18050, the timer and model for the measurement variable are deleted on the manager (120). In step 18060, the managed system (125) is informed that the subscription is revoked. In steps 18070, 18080, 18090, 18100 and 18110, the managed system (125) deletes: the timers; the repository entries; and the collection tasks associated with the specified measurement variable. Note that during the execution of the deleteModel( ) method (step 18050) of the Manager Model Handler, objects are deleted (step 18055). Also, during the execution of the deleteModel( ) (step 18090) of the Agent Model Handler, objects are deleted (step 18095).

[0121]FIG. 19 depicts an example of the ConcurrentUpdate scenario. This refers to a situation in which a non-MBM protocol is being used concurrently with MBM. For simplicity, not all of the architectural components of this non-MBM protocol are shown, just the element on the manager (120) that updates the ManagerMeasurementRepository (2020). (Clearly, there must be at least one component on the managed system (125) as well.) As depicted, in step 19010, the non-MBM MAP (OtherProtocolHandler) updates the ManagerMeasurementRepository using the putValue( ) method. In step 19020, the putValue( ) method invokes the updatevalue( ) method with a StatusCode of “actual”. In step 19030 and 19040: the ManagerProtocolHandler (2030) is informed of the concurrent update, which in turn informs the AgentProtocolHandler (2080). In step 19050, the AgentMeasurementRepository (2098) is updated.

[0122]FIG. 20 depicts an example of the TentativeUpdate scenario. As depicted, in step 20010, the scenario is initiated by the update timer expiration (TimerUD) on the manager (120). In steps 20020, 20030, and 20040: the predicted value of the measurement variable is obtained. Note that no actual values are obtained from the managed system in this scenario since we are only considering the use of tentative values by the Application (100). In step 20050, the ManagerMeasurementRepository (2020) is updated with a StatusCode of “tentative”. In step 20060, the Application is notified that a new value is available. In step 20070, the update timer is set so that the scenario can be repeated.

[0123] One difficulty in practice with the proposed embodiment is that the manager must predict values at time stamps that are determined by the clock on the managed system, but the manager and managed systems may not have synchronized clocks. This can be addressed by using a relative time stamp that indexes a set of sampling intervals. For example, a three could be used to identify the third sampling interval. This approach only requires that clocks operate at the same rate.

[0124] Another consideration in practice is handling memory management of DataItem objects that are created in the measurement repositories (on the manager (1110) and managed (170) systems). To one versed in the art, knowledge of memory management schemes is common, such as only allowing a fixed amount of history or providing installation controls to establish specific policies.

[0125] Various efficiency improvements are possible in the embodiment herein described. First, in the CheckModel scenario depicted in FIG. 16, updating the predictive model on the managed system is accomplished by deleting the existing model and defining a new model. However, within the spirit and scope of the present invention, some efficiencies can be gained by doing incremental adjustments to the model, thereby avoiding overheads such as releasing and re-allocating storage.

[0126] A second efficiency is to extend the embodiment to address groups of measurement variables. With this extension, the StatusCode and Timestamp objects refer to a set of measurement variables and their values. To one skilled in the art, this is relatively straight forward since it only requires modest adjustments to the parameters passed in method calls and to the objects used inside these methods.

[0127] Another variation of the present invention is to eliminate the StatusCode of “confirmed” by including in the heart-beat message the values of the confirmed DataItem objects. This approach simplifies the design somewhat. It also simplifies the user interface for management applications such as that described in FIG. 1A. The main disadvantage of this approach is that message sizes can increase considerably if there is a long delay between heart-beat messages and/or a large number of measurement variables are acquired using MBM. Again, to one skilled in the art, this variation is straight forward to implement.

[0128] Another straight forward extension to the present invention is to have multiple managers for a single managed system. Doing so requires that DataItems in the AgentMeasurementRepository (2098) and ModelSpecifications (2045) in the AgentModelHandler (2090) be indexed by manager so that the AgentProtocolHandler (2080) can determine if the manager's predictions are within the accuracy bounds specified by the subscription.

[0129] Yet another fairly easy extension to the present invention is to use heart-beat messages to determine if a managed system is severely impaired. That is, the manager uses a second Timer object for each variable (or variable group) to provide a notification of when a heart-beat message is expected. If the message does not arrive, then a notification is sent or an action is taken to address a potential problem with the managed system.

[0130] Last, it is observed that one approach to handling concurrent updates (FIG. 19) by other MAPs generates a message (143) from the manager to the managed system. This is done so that other MAPs need not be aware of the MBM protocol. If this restriction is removed, then it can be required of other MAPs to: (a) inform the AgentProtocolHandler when data are obtained; and (b) inform the ManagerProtocolHandler when the update is posted. With this approach, the number of messages exchanged is reduced.

[0131] Yet another alternative is to consider predictive models that are present only on the manager system (120). This may arise, for example, when there is a single controller that is doing load balancing across diverse systems (e.g., a workstation and a supercomputer) and hence the controller needs to model the systems to which jobs are sent in order to estimate their load levels. Note that this alternative still requires model specifications that consist of a model definition, parameter values, and input data.

[0132] Still another alternative is that the predictive models (141) are present only on the managed system (125). Indeed, it may be that the managed system is a standalone system. Such an implementation provides a way to more effectively manage resources. In the current state-of-the-art, thresholds are used to control resource consumption so that catastrophic conditions are avoided. For example, in a router, excessive CPU consumption can deprive the router of processing needed to support basic kernel services. Thus, there is typically an upper limit specified on the CPU that can be consumed by nonessential processes. This limit is typically set sufficiently low to accommodate a variety of circumstances, such as different kinds of message processing. As a result, the limit is often too low for some kinds of message traffic, and it may be too high for others. By having a predictive model that can forecast future values of CPU consumption, it is possible to employ a more efficient approach to resource management in which the threshold depends on predicted values. Hence, the effective upper limit for CPU consumption will be higher when the traffic is less demanding and lower when the traffic is more demanding. Note that this embodiment still requires model specifications that consist of a model definition, parameter values, and input data.

[0133] Now that the invention has been described by way of a preferred embodiment, with alternatives, various modifications and improvements will occur to those of skill in the art. Thus, it should be understood that the detailed description should be construed as an example and not a limitation. The invention is properly defined by the appended claims.

[0134] The following references are hereby incorporated herein by reference in their entirety:

[0135] A. V. Aho and J. D. Ulhman, The Theory of Parsing, Translation, and Compiling, Prentice-Hall, 1972.

[0136] R. F. Berry and J. L. Hellerstein, “A Flexible and Scalable Approach to Navigating Measurement Data in Performance Management Applications,” Second IEEE Conference on Systems Management, Toronto, Canada, June, 1996.

[0137] G. Booch, Object-Oriented Analysis and Design, The Benjamin/Cummings Publishing Company, Redwood City, Calif. 1994.

[0138] G. E. P. Box and G. M. Jenkins, Time Series Analysis forecasting and control, Prentice Hall, 1976.

[0139] T. M. Cover and J. A. Thomas, Elements of Information Theory; John Wiley & Sons, Inc., 1991.

[0140] B. Gaddouna et al., “Fault Detection Observers for Systems with Unknown Inputs,” Proceedings of Fault Detection, Supervision, and Safety for Technical Processes, June 13-16, pp. 59-64, 1994.

[0141] M. J. Freeley et al., “Implementing Global Memory Management In a Workstation Cluster,” Fifteenth AC Symposium on Operating Systems Principles, pp. 201-212, 1995.

[0142] N. Hachem and S. Chenye Bao Taylor, “Approximate Query Answering in Numerical Databases,” 8th International Conference on Scientific and Statistical Data Base Management, pp. 63-73, 1996.

[0143] C. Hood and C. Ji, “Automated Proactive Anomaly Detection,” Proceedings of Integrated Network Management, pp. 688-699, 1997.

[0144] M. Litzkow, M. Livny, and M. Mutka: “Condor—A Hunter of Idle Workstations,” The 8th International Conference on Distributed Computing Systems, pp. 104-111, 1988.

[0145] R. Maxion, “Anomaly Detection for Diagnosis,” 20th IEEE Conference on Fault Tolerant Computer Systems, pp. 20-27, June, 1990.

[0146] D. Mils, “Network Timer Protocol Specification and Implementation,” Network Working Group Request for Comments: 1119, September 1989.

[0147] M. B. Priestley, Spectral Analysis and Time Series, Academic Press, 1981.

[0148] S. Tanenbaum, Computer Networks, Prentice Hall, 1996. 

What is claimed is:
 1. A predictive model-based method for measurement data acquisition in a data processing system, comprising the steps of: dynamically constructing a predictive model for managing system resources, wherein the predictive model includes a model definition, estimates of model parameters, and input data; and managing said system resources using predicted values for resource consumption generated by the predictive model.
 2. A predictive model-based method for measurement data acquisition in a distributed system, comprising the steps of: dynamically constructing a plurality of predictive models on a manager system, wherein each predictive model corresponds to a managed system and includes a model definition, estimates of model parameters, and model measurement variable input data; and managing the managed systems based on predicted values from the predictive model.
 3. The method of claim 2, further comprising the steps of: said managing including load balancing work across the managed systems based on the predictive models for the managed systems.
 4. A predictive model-based method for measurement data acquisition in a distributed system, comprising the steps of: dynamically constructing a predictive model of pricing data, based on one or more non-static measurement variable values, on both a manager system and a disconnectable managed pricing-data system; and the manager system processing requests for pricing data values based on the predictive model on the manager system.
 5. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for predictive model-based method for measurement data acquisition in a data processing system, said method steps comprising: dynamically constructing a predictive model for managing system resources, wherein the predictive model includes a model definition, estimates of model parameters, and input data; and managing said system resources using predicted values for resource consumption generated by the predictive model.
 6. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for predictive model-based method for measurement data acquisition in a distributed system, said method steps comprising: dynamically constructing one or more predictive models on a manager system, wherein each predictive model corresponds to a managed system and includes a model definition, estimates of model parameters, and model measurement variable input data; and managing the managed systems based on predicted values from the predictive model.
 7. The method of claim 6, further comprising the steps of: said managing including load balancing work across the managed systems based on the predictive models for the managed systems.
 8. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for predictive model-based method for measurement data acquisition in a distributed system, said method steps comprising: dynamically constructing a predictive model of pricing data, based on one or more non-static measurement variable values, on both a manager system and a disconnectable managed pricing-data system; and the manager system processing requests for pricing data values based on the predictive model on the manager system.
 9. A predictive model-based measurement acquisition system for creating and managing one or more predictive models that predict values of measurement variables, said system comprising: means for dynamically constructing a predictive model for managing system resources, wherein the predictive model includes a model definition, estimates of model parameters, and input data; and means for managing said system resources using predicted values for resource consumption generated by the predictive model.
 10. The system of claim 9, wherein the system is a router which includes including a plurality of thresholds used to control CPU consumption by processes, further comprising: the predictive model being adapted to predict future values of said CPU consumption; and means for managing the thresholds based on predicted future values of said CPU consumption.
 11. A predictive model-based measurement acquisition system for creating and managing one or more predictive models that predict values of measurement variables in distributed systems, said system comprising: means for dynamically constructing one or more predictive models on a manager system, wherein each predictive model corresponds to a managed system and includes a model definition, estimates of model parameters, and model measurement variable input data; and manager means for managing the managed systems based on predicted values from a predictive model on the manager system.
 12. The method of claim 11, further comprising the steps of: said manager means for managing including means for load balancing work across the managed systems based on the predictive model on the manager system.
 13. A predictive model-based measurement acquisition system for creating and managing one or more predictive models that predict values of pricing data variables in distributed systems, said system comprising: means for dynamically constructing a predictive model of pricing data, based on one or more non-static pricing data variable values, on both a manager system and a disconnectable managed pricing-data system; and manager system means for processing requests for pricing data values based on the predictive model on the manager system. 